<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sb" uri="/struts-bootstrap-tags"%>
<s:set id="contextPath"	value="#request.get('javax.servlet.forward.context_path')" />
<sb:head includeScripts="false" includeScriptsValidation="false" includeStyles="false" includeStylesResponsive="true" />
<div class="navbar navbar-fixed-top">
	<div class="navbar-inner">	
			<a class="btn btn-navbar" data-toggle="collapse"
				data-target=".nav-collapse"> <span class="i-bar"></span>
				<span class="i-bar"></span> <span class="i-bar"></span>
				<span class="i-bar"></span> <span class="i-bar"></span>
				<span class="i-bar"></span>
			</a> <a class="brand" href="#">&nbsp;&nbsp;&nbsp;&nbsp;GPS กรมทางหลวงชนบท</a>
			<div class="nav-collapse">
				<ul class="nav">					
					<li id="home_url"><s:a href="Home" namespace="/usr">หน้าหลัก</s:a></li>					
					<li id="viewEdit_url"><s:a href="ViewEdit" namespace="/usr">เพิ่มข้อมูล</s:a></li>					
				</ul>
			</div>			
		</div>
	</div>
<script type="text/javascript">
<!--
	$(function(){
		var url = '<s:url forceAddSchemeHostAndPort="true" includeParams="all"/>';
		var i = url.lastIndexOf("/") + 1;
		var name = url.substr(i);
		if('Home.action' == name)
			$("#home_url").addClass('active');
		else if('ViewEdit.action' == name)
			$("#viewEdit_url").addClass('active');
	});
//-->
</script>
